<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>以姓名和性别搜索</title>
    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="/webjars/bootstrap/3.3.5/css/bootstrap.min.css" />
    <script src="/webjars/jquery/3.1.1/jquery.min.js"></script>
    <script src="/webjars/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>
<h2 align="center">根据姓前缀和性别查找学生</h2>
<form action="/selectByPreAndSex" class="form-horizontal" method="post" >

    <div class="form-group">
        <label for="prename" class="control-label col-md-2 col-md-offset-3">姓：</label>
        <div class="col-md-2 ">
        <input type="text" class="form-control" id="prename" name="prename" />
    </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-md-2 col-md-offset-3">性别：</label>
        <div class="col-md-2 col-lg-offset-1">
         <label class="radio-inline"><input type="radio"  name="ssex" value="1"/>男</label>
        <label class="radio-inline"><input type="radio"  name="ssex" value="0"/>女</label>
    </div>
    </div>


    <div class="form-group">
        <div class="col-md-7 col-md-offset-8">
            <input type="submit" class="btn btn-info"value="提交"/>
    </div>
    </div>
</form>

</body>
</html>